package com.easylinkin.linkappapi.positioning.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/27 10:52
 */
@Data
@Accessors(chain = true)
@TableName(value = "sbdw_alarm_device_config")
public class AlarmDeviceConfig {

    @TableId(type= IdType.AUTO)
    private Integer id;

    @TableField(value = "device_code")
    private String deviceCode;

    /**
     * 电子围栏主键ID
     */
    @TableField(value = "fence_id")
    private Integer fenceId;

    /***
     * 设备名称
     */
    @TableField(exist = false)
    private String deviceName;
}
